package model

import "gorm.io/gorm"

type Comment struct {
	gorm.Model
	UserID  uint   `gorm:"index"`
	PostID  uint   `gorm:"index"`
	Content string `gorm:"type:longtext"`
	Status  int32  `gorm:"default:0"` // 0: 不允许展示  1： 允许展示
}
